package com.chixing.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.chixing.pojo.Mycoupon;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zht
 * @since 2022-10-26
 */
public interface IMycouponService extends IService<Mycoupon> {
        public Integer insert(Mycoupon mycoupon);
        public List<Mycoupon> selectAll(Integer userId);
        public List<Mycoupon> selectAll2Use(Integer userId);
        public Integer update(Mycoupon mycoupon);
        public Long getCouponNumberByUserId(String userId);
        public Integer delete(String mycouponNumber);
}
